-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix ttl for the SQLiteStorage #119
Fix ttl for the SQLiteStorage #119
Conversation
HassanRady
commented
Nov 29, 2023
- Replace bigger than sign with smaller in sync and async in _remove_expired_caches for sqlite.
- Add two test cases for sync and async to test sqlite cache lifecycle.
…e' into Issue-118-fix-sqlite-expire-cahce # Conflicts: # tests/_async/test_storages.py # tests/_sync/test_storages.py
You can write only the async code and then run Can we also have a changelog? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #119 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 27 27
Lines 1769 1775 +6
=========================================
+ Hits 1769 1775 +6 ☔ View full report in Codecov by Sentry. |
I have a little bit simplified the tests, so we don't have a special test for sqlite storage. Thanks for this pull request 🙏 I will schedule a release for tomorrow 🎉 |